package cn.software.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

/**
 * 学科
 * @TableName subject
 */
@TableName(value ="subject")
public class Subject implements Serializable {

    /**
     * 学科id
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 学科名
     */
    private String name;

    /**
     * 
     */
    private Integer isDeleted;

    @TableField("`describe`")
    private String describe;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    public String getDescribe() {
        return describe;
    }

    public void setDescribe(String describe) {
        this.describe = describe;
    }

    /**
     * 学科id
     */
    public Integer getId() {
        return id;
    }

    /**
     * 学科id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 学科名
     */
    public String getName() {
        return name;
    }

    /**
     * 学科名
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 
     */
    public Integer getIsDeleted() {
        return isDeleted;
    }

    /**
     * 
     */
    public void setIsDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
    }

    public Subject(Integer id, String name, Integer isDeleted, String describe) {
        this.id = id;
        this.name = name;
        this.isDeleted = isDeleted;
        this.describe = describe;
    }

    @Override
    public String toString() {
        return "Subject{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", isDeleted=" + isDeleted +
                ", describe='" + describe + '\'' +
                '}';
    }

    public Subject() {
    }


}